package com.ll.blog.model.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
@Data
@ApiModel(description = "分页结果")
public class PageDto<T> implements Serializable {
    @ApiModelProperty("总数")
    private Long total;
    @ApiModelProperty("总页码")
    private Long pages;
    @ApiModelProperty("数据")
    private List<T> list;
}
